package com.allwees.bs.module.ops.req;

import com.allwees.bs.core.model.ops.constant.AdPositionEnum;
import com.allwees.core.common.constant.EPlatform;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author Daniel
 * @Version 1.0.0
 * @Description
 * @CreateTime 2020/10/16 13:58
 */
@Data
public class AdDTO {
    private static final long serialVersionUID = 3332210687835999427L;

    @NotEmpty(groups = {Add.class})
    private String name;

    @NotNull(groups = {Add.class})
    private AdPositionEnum position;

    @NotNull(groups = {Add.class})
    private EPlatform platform;

    @NotNull(groups = {Add.class})
    private String channelUuid;

    private Integer status;

    public interface Add{}

    public interface Edit{}
}
